﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ThridGroup.ERP.DTO.JobGradeManagementDTO;
using Volo.Abp.Application.Services;

namespace ThridGroup.ERP.HumanResources
{
    /// <summary>
    /// 职位等级接口
    /// </summary>
    public interface IPositionManagementServices : IApplicationService
    {
        /// <summary>
        /// 添加职位管理
        /// </summary>
        /// <param name="jobGradeManagementModel"></param>
        /// <returns></returns>
        Task<int> AddJobGradeManagementModel(JobGradeManagementModelDTO jobGradeManagementModel);

        /// <summary>
        /// 显示职位信息
        /// </summary>
        /// <returns></returns>
        Task<List<JobGradeManagementModelDTO>> QueryJobGradeManagement(QueryJobGradeManagementDTO queryJobGradeManagementDTO);

        /// <summary>
        /// 回显单条职位信息
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        Task<JobGradeManagementModelDTO> GetJobGradeManagementModel(int id);

        /// <summary>
        ///删除职位信息
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
      Task DelJobGradeManagement(int id);

        /// <summary>
        /// 修改职位信息
        /// </summary>
        /// <returns></returns>
        Task<int> UpJobGradeManagement(JobGradeManagementModelDTO jobGradeManagementModelDTO);

        /// <summary>
        /// 批量删除职位信息
        /// </summary>
        /// <param name="ids">要删除的职位ID列表</param>
        /// <returns></returns>
        Task BatchDelJobGradeManagement(List<int> ids);
      

    }
}
